﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using DAL;

namespace BLL
{
    public class BTaxiOnlineTime
    {
        private DTaxiOnlineTime _dTaxiOnlineTime = new DTaxiOnlineTime();

        public bool Exists(string phonenumber, DateTime date)
        {
            return _dTaxiOnlineTime.Exists(phonenumber, date);
        }

        public bool Add(string phoneNumber, DateTime date, int minutes)
        {
            return _dTaxiOnlineTime.Add(phoneNumber, date, minutes);
        }

        public DataSet GetList(string date1, string date2, string parameter, string parameterVaule)
        {
            return _dTaxiOnlineTime.GetList(date1, date2, parameter, parameterVaule);
        }

        
        public DataSet GetListWhere(string date1, string date2, string strWhere)
        {
            return _dTaxiOnlineTime.GetListWhere(date1, date2, strWhere);
        }
        
    }
}
